package com.yami.shop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.bean.model.ExtensionWorker;

public interface ExtensionService extends IService<ExtensionWorker> {
    ExtensionWorker getExtensionWorker(String userId);
    //审核通过，成为推广人员
    String  updateExtension(Long promotionId,String status);

    IPage<ExtensionWorker> pageExtensionWork(Page<ExtensionWorker> page, ExtensionWorker extensionWorker);
}
